-- premake5.lua
workspace "HandmadeHero"
   architecture "x64"
   configurations { "Debug", "Release", "Dist" }
   startproject "HandmadeHero"

outputdir = "%{cfg.system}-%{cfg.architecture}/%{cfg.buildcfg}"

project "HandmadeHero"
	kind "WindowedApp"
	language "C++"
	cppdialect "C++17"
	--staticruntime "on"

	targetdir ("bin/" .. outputdir .. "/%{prj.name}")
	objdir ("bin-int/" .. outputdir .. "/%{prj.name}")

	files
	{
		"code/**.h",
		"code/**.cpp"
	}